*** Create Table A21, Drescriptive Statistics, Mechanism Test ***

********************************************************************************
clear

use "${clean}/who_counts_mechanisms.dta"

** Mechanisms, Descriptive Statistics **

** Output Table **
estpost sum prcnt_students_male prcnt_students_female school n_school mean_share_cm2 mean_teacher_student prcnt_etat_civil prcnt_for_1970 prcnt_modern_houses mean_elev cropland_1910 popd_1910 n_schools_52 n_classes_52 n_students_52 coastal
esttab . using "${output}/tables/TableA21.tex", varlabels(prcnt_etat_civil "Share Registered Households " prcnt_students_male "Share Male Students"  prcnt_students_female "Share Female Students" school "Any School" n_school "Number of Schools " mean_share_cm2 "Mean CM2 Share "  mean_teacher_student "Mean Teacher Student Ratio" prcnt_for_1970 "Share Foreign Population" prcnt_modern_houses "Share Modern Houses" mean_elev "Mean Elevation" cropland_1910 "Estimated Precolonial Cropland" popd_1910 "Estimate Precolonial Population Density " n_schools_52 "N schools, 1952" n_classes_52 "N classes, 1952" n_students_52 "N Students, 1952") booktabs title(Summary Statistics 1970 Population and School Census \label{tab:Descriptives_School}) cells("count(fmt(3)) mean(fmt(3)) sd(fmt(3)) min(fmt(3)) max(fmt(3))")replace nomtitle nonum

